package io.github.biezhi.elves.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import io.github.biezhi.elves.mapper.QccMapper;
import io.github.biezhi.elves.mapper.QccRealTimeMapper;
import io.github.biezhi.elves.mapper.QccUniscidMapper;
import io.github.biezhi.elves.model.CompAnnualReports;
import io.github.biezhi.elves.qcc.model.CompAnalysis;
import io.github.biezhi.elves.qcc.model.CompBasic;
import io.github.biezhi.elves.qcc.model.CompBasicInfo;
import io.github.biezhi.elves.qcc.model.CompChangeRecord;
import io.github.biezhi.elves.qcc.model.CompQccCrawl;
import io.github.biezhi.elves.qcc.model.CompUniscid;
import io.github.biezhi.elves.qcc.model.OutboundInvestment;
import io.github.biezhi.elves.service.QccRealTimeService;
import io.github.biezhi.elves.service.QccService;
import io.github.biezhi.elves.service.QccUniscidService;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Service("qccUniscidService")
public class QccUniscidServiceImpl implements QccUniscidService{

	@Autowired
	private QccUniscidMapper qccUniscidMapper;
	
	@Override
	public List<CompBasic> queryCompBasic(Integer num) {
		return qccUniscidMapper.queryCompBasic(num);
	}

	@Override
	public void updateSpiderState(String compName) {
		qccUniscidMapper.updateSpiderState(compName);
	}

	@Override
	public void insertSpiderData(CompUniscid compUniscid) {
		qccUniscidMapper.insertSpiderData(compUniscid);
	}

}
